[INFO] cloning repository https://github.com/ryskit/tokio-tutorial
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryskit/tokio-tutorial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryskit%2Ftokio-tutorial", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryskit%2Ftokio-tutorial'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71048d8827ee9768ff2aed03e701a7b8cd5f4749
[INFO] building ryskit/tokio-tutorial against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryskit%2Ftokio-tutorial" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ryskit/tokio-tutorial on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ryskit/tokio-tutorial
[INFO] finished tweaking git repo https://github.com/ryskit/tokio-tutorial
[INFO] tweaked toml for git repo https://github.com/ryskit/tokio-tutorial written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/ryskit/tokio-tutorial already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mini-redis v0.4.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0fc437b21b0026b2487b9a8e9daa3a7e7b4fcca8b684422b9f1fba236778731c
[INFO] running `Command { std: "docker" "start" "-a" "0fc437b21b0026b2487b9a8e9daa3a7e7b4fcca8b684422b9f1fba236778731c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0fc437b21b0026b2487b9a8e9daa3a7e7b4fcca8b684422b9f1fba236778731c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0fc437b21b0026b2487b9a8e9daa3a7e7b4fcca8b684422b9f1fba236778731c", kill_on_drop: false }`
[INFO] [stdout] 0fc437b21b0026b2487b9a8e9daa3a7e7b4fcca8b684422b9f1fba236778731c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 18cf7a39a5aaf03d318959342f14718890d456230db5f7b0146727a6d8e5a51a
[INFO] running `Command { std: "docker" "start" "-a" "18cf7a39a5aaf03d318959342f14718890d456230db5f7b0146727a6d8e5a51a", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling libc v0.2.113
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling tracing-core v0.1.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling lock_api v0.4.5
[INFO] [stderr]    Compiling serde_json v1.0.75
[INFO] [stderr]    Compiling unicode-width v0.1.9
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling ansi_term v0.12.1
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling mio v0.7.14
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling itoa v1.0.1
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling tracing-serde v0.1.2
[INFO] [stderr]    Compiling clap v2.34.0
[INFO] [stderr]    Compiling matchers v0.0.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling thread_local v1.1.3
[INFO] [stderr]    Compiling tracing-log v0.1.2
[INFO] [stderr]    Compiling sharded-slab v0.1.4
[INFO] [stderr]    Compiling atoi v0.3.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.2
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]    Compiling async-stream v0.3.2
[INFO] [stderr]    Compiling tracing v0.1.29
[INFO] [stderr]    Compiling tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling pin-project v1.0.10
[INFO] [stderr]    Compiling tracing-futures v0.2.5
[INFO] [stderr]    Compiling structopt v0.3.26
[INFO] [stderr]    Compiling tokio-stream v0.1.8
[INFO] [stderr]    Compiling mini-redis v0.4.1
[INFO] [stderr]    Compiling tokio-tutorial v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 24.79s
[INFO] running `Command { std: "docker" "inspect" "18cf7a39a5aaf03d318959342f14718890d456230db5f7b0146727a6d8e5a51a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "18cf7a39a5aaf03d318959342f14718890d456230db5f7b0146727a6d8e5a51a", kill_on_drop: false }`
[INFO] [stdout] 18cf7a39a5aaf03d318959342f14718890d456230db5f7b0146727a6d8e5a51a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 50e81176e41b1ca3cff1e32a259af656b8c97384a3aca5024df65e6cef62b88b
[INFO] running `Command { std: "docker" "start" "-a" "50e81176e41b1ca3cff1e32a259af656b8c97384a3aca5024df65e6cef62b88b", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio-tutorial v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `res`
[INFO] [stdout]  --> examples/hello-redis.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 |         let res = client.get("hello").await;
[INFO] [stdout]   |             ^^^ help: if this is intentional, prefix it with an underscore: `_res`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `client`, which is owned by the current function
[INFO] [stdout]   --> examples/hello-redis.rs:8:33
[INFO] [stdout]    |
[INFO] [stdout] 8  |       let t1 = tokio::spawn(async {
[INFO] [stdout]    |  _________________________________^
[INFO] [stdout] 9  | |         let res = client.get("hello").await;
[INFO] [stdout]    | |                   ------ `client` is borrowed here
[INFO] [stdout] 10 | |     });
[INFO] [stdout]    | |_____^ may outlive borrowed value `client`
[INFO] [stdout]    |
[INFO] [stdout]    = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use
[INFO] [stdout] help: to force the async block to take ownership of `client` (and any other referenced variables), use the `move` keyword
[INFO] [stdout]    |
[INFO] [stdout] 8  |     let t1 = tokio::spawn(async move {
[INFO] [stdout]    |                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `client` as mutable more than once at a time
[INFO] [stdout]   --> examples/hello-redis.rs:12:33
[INFO] [stdout]    |
[INFO] [stdout] 8  |        let t1 = tokio::spawn(async {
[INFO] [stdout]    |   ______________-__________________-
[INFO] [stdout]    |  |______________|
[INFO] [stdout]    | ||
[INFO] [stdout] 9  | ||         let res = client.get("hello").await;
[INFO] [stdout]    | ||                   ------ first borrow occurs due to use of `client` in generator
[INFO] [stdout] 10 | ||     });
[INFO] [stdout]    | ||_____-- argument requires that `client` is borrowed for `'static`
[INFO] [stdout]    |  |_____|
[INFO] [stdout]    |        first mutable borrow occurs here
[INFO] [stdout] 11 |
[INFO] [stdout] 12 |        let t2 = tokio::spawn(async {
[INFO] [stdout]    |  __________________________________^
[INFO] [stdout] 13 | |          client.set("foo", "bar".into()).await;
[INFO] [stdout]    | |          ------ second borrow occurs due to use of `client` in generator
[INFO] [stdout] 14 | |      });
[INFO] [stdout]    | |______^ second mutable borrow occurs here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0373, E0499.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0373`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `tokio-tutorial` due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "50e81176e41b1ca3cff1e32a259af656b8c97384a3aca5024df65e6cef62b88b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50e81176e41b1ca3cff1e32a259af656b8c97384a3aca5024df65e6cef62b88b", kill_on_drop: false }`
[INFO] [stdout] 50e81176e41b1ca3cff1e32a259af656b8c97384a3aca5024df65e6cef62b88b
